package cn.it.infrastructure.domain.service.impl;


import cn.it.infrastructure.domain.service.IBusinessService;
import cn.it.infrastructure.mapper.IBusinessMapper;
import cn.it.infrastructure.po.TbBusiness;
import org.springframework.stereotype.Service;

/**
 * @Author Mzq
 * @description
 * @createTime 2024/7/4
 */
@Service
public class BusinessServiceImpl implements IBusinessService {

    private IBusinessMapper businessMapper;

    public BusinessServiceImpl(IBusinessMapper businessMapper) {
        this.businessMapper = businessMapper;
    }

    @Override
    public TbBusiness queryBusinessById(Long id) {
        return businessMapper.selectByPrimaryKey(id);
    }
}
